<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" session="false" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>adad</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/waybook.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/icon.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/css/custom.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/datepicker/datepicker.css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.ui.core.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.ui.effect.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/common.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/toolkit.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/datepicker/datepicker.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/core/jquery.upload.js"></script>
</head>
<body>

<div id="adad_div_add_edit" class="easyui-window" title="添加广告公司" style="width:380px;fit:true;height:530px;padding:5px;" 
	data-options="iconCls:'icon-add',modal:true,top:0,collapsible:false,minimizable:false,maximizable:false,draggable:false,closed:true">
	<div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line"><label>广告名称</label>
				<input id="adad_ipt_name" class="easyui-textbox" 
				data-options="required:true,validType:'length[2,60]',invalidMessage:'长度在2到60个字符之间。'" style="width: 250px;" /></div>
			<div class="line"><label>广告业主</label>
				<input id="adad_ipt_owner" class="easyui-combobox" data-options="required:true, valueField:'value',textField:'text',required:true" /></div>
			<div class="line"><label>广告位置</label>
				<input id="adad_ipt_position" class="easyui-combobox" data-options="required:true, valueField:'value',textField:'text',required:true" /></div>
			<div class="line"><label>导向url</label>
				<input id="adad_ipt_url" class="easyui-textbox" data-options="validType:'length[0,255]',invalidMessage:'长度不超过120个字符。'" style="width: 250px;" /></div>
			<!-- <div class="line"><label>广告类型</label>
				<input id="adad_ipt_type" class="easyui-combobox" data-options="valueField:'value',textField:'text',required:true" /></div>
			<div class="line"><label>苹果url</label>
				<input id="adad_ipt_iosUrl" class="easyui-textbox" data-options="validType:'length[0,255]',invalidMessage:'长度不超过120个字符。'" style="width: 250px;" /></div>
			<div class="line"><label>苹果描述</label>
				<input id="adad_ipt_iosDesc" class="easyui-textbox" data-options="validType:'length[0,16]',invalidMessage:'长度不超过16个字符。'" style="width: 250px;" /></div>
			<div class="line"><label>安卓url</label>
				<input id="adad_ipt_androidUrl" class="easyui-textbox" data-options="validType:'length[0,255]',invalidMessage:'长度不超过120个字符。'" style="width: 250px;" /></div>
			<div class="line"><label>安卓描述</label>
				<input id="adad_ipt_androidDesc" class="easyui-textbox" data-options="validType:'length[0,16]',invalidMessage:'长度不超过16个字符。'" style="width: 250px;" /></div> -->
			<!-- <div class="line"><label>显示时长</label>
				<input id="adad_ipt_showTime" class="easyui-numberbox" data-options="required:true,min:1,prompt:'单位毫秒'" /></div> -->
			<!-- <div class="line"><label>显示类型</label>
				<input id="adad_ipt_showType" class="easyui-combobox" data-options="valueField:'value',textField:'text',required:true" /></div> -->
			<div class="line"><label>生效时间</label>
				<input id="adad_ipt_beginTime" class="textbox" readonly="readonly" style="width: 150px;" /></div>
			<div class="line"><label>失效时间</label>
				<input id="adad_ipt_endTime" class="textbox" readonly="readonly" style="width: 150px;" /></div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-reset'" onclick="jsAdad.resetSaveOrEdit();" style="width:80px">重置</a>
            <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="jsAdad.saveOrEdit($(this));" style="width:80px">确定</a>
        </div>
    </div>
</div>


<script type="text/javascript">
var jsAdad = new JS_ADAD();
jsAdad.init();
jsAdad.getPage(1, 20);
</script>

</body>
</html>



